package com.jmb.api.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName task
 */
@TableName(value ="task")
@Data
public class Task extends BaseEntity {
    /**
     * 
     */
    @TableId(value = "task_id", type = IdType.AUTO)
    private Integer taskId;

    /**
     * 描述
     */
    @TableField(value = "desc")
    private String desc;

    /**
     * 定时任务表达式
     */
    @TableField(value = "cron")
    private String cron;

    /**
     * 下次执行时间
     */
    @TableField(value = "next_time")
    private Date nextTime;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 0接口1UI
     */
    @TableField(value = "suite_type")
    private Integer suiteType;

    /**
     * 测试套件编号
     */
    @TableField(value = "suite_id")
    private Integer suiteId;

    /**
     * 状态0启用1禁用
     */
    @TableField(value = "status")
    private Integer status;
}